package com.njitt.bysj.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;

import java.util.Date;

@ToString
/**
 * @description: 物料实体
 * @return:  * @param null
 * @author:
 * @time: 2022/4/13 15:47
 */
public class MaterialBean {
    private Integer id;

    private String materialName;

    private String materialUnit;

    private  String materialNo;

    private Integer materialStatus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date materialCreateDate;

    private Integer materialEmpid;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date materialUpdateDate;

    private EmpBean empBean;

    public EmpBean getEmpBean() {
        return empBean;
    }

    public void setEmpBean(EmpBean empBean) {
        this.empBean = empBean;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName == null ? null : materialName.trim();
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit == null ? null : materialUnit.trim();
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public Integer getMaterialStatus() {
        return materialStatus;
    }

    public void setMaterialStatus(Integer materialStatus) {
        this.materialStatus = materialStatus;
    }

    public Date getMaterialCreateDate() {
        return materialCreateDate;
    }

    public void setMaterialCreateDate(Date materialCreateDate) {
        this.materialCreateDate = materialCreateDate;
    }

    public Integer getMaterialEmpid() {
        return materialEmpid;
    }

    public void setMaterialEmpid(Integer materialEmpid) {
        this.materialEmpid = materialEmpid;
    }

    public Date getMaterialUpdateDate() {
        return materialUpdateDate;
    }

    public void setMaterialUpdateDate(Date materialUpdateDate) {
        this.materialUpdateDate = materialUpdateDate;
    }

}